package com.yingdong.redis;

import redis.clients.jedis.Jedis;

public class RedisClient {
	private Jedis jedis;

	public Jedis getJedis() {
		return jedis;
	}

	public void setJedis(Jedis jedis) {
		this.jedis = jedis;
	}

	public RedisClient(Jedis jedis) {
		super();
		this.jedis = jedis;
	}

	public void release() {
		RedisManager.returnResource(jedis);
	}

}
